import Mock from 'mockjs';

Mock.setup({
    timeout:'200-400'
});

const items = [
    {id:1,name:'111'},
    {id:2,name:'222'},
    {id:3,name:'333'},
    {id:4,name:'444'}
]

Mock.mock('/api/v1/getdemoItems','get',() => {
    return {
        code:'0000',
        data:items,
        msg:''
    }
})